//
//  DUTabbarVC.m
//  language
//
//  Created by duyujin1 on 2021/8/1.
//

#import "DUTabbarVC.h"
#import "DUMeVC.h"
#import "DUHomeVC.h"

@interface DUTabbarVC ()

@end

@implementation DUTabbarVC

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addVc:[[DUHomeVC alloc] init]];
    [self addVc:[[DUHomeVC alloc] init]];
    [self addVc:[[DUMeVC alloc] init]];
}

- (void)addVc:(UIViewController *)vc{
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:vc];
    [self addChildViewController:nav];
}

@end
